﻿using Authentication.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authentication.Model.Interface
{
    public interface IUserProvider
    {
        IEnumerable<User> RetrieveUsers(string applicationKey = null);

        IEnumerable<User> RetrieveUsers(Guid applicationKey);

        User RetrieveUser(Guid applicationKey, string userName);

        User RetrieveUserByEmail(Guid applicationKey, string email);

        bool AddUser(User record);
    }
}
